# Contributor: VÖRÖSKŐI András <voroskoi@gmail.com>
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=xfce4-pulseaudio-plugin
pkgver=0.4.3
pkgrel=2
pkgdesc="Xfce panel plugin for pulseaudio mixer control"
url="https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-plugin"
arch="all"
license="GPL-2.0-or-later"
makedepends="xfce4-panel-dev pulseaudio-dev libxfce4ui-dev dbus-dev exo-dev
	dbus-glib-dev libnotify-dev keybinder3-dev"
options="!check" # Check is empty
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/${pkgver%.*}/xfce4-pulseaudio-plugin-$pkgver.tar.bz2"

build() {
	./configure \
	    --prefix=/usr \
	    --sysconfdir=/etc \
	    --libexecdir=/usr/lib \
	    --localstatedir=/var \
	    --disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="d3214b2b7c35a0a87ea60a5d843f5027d1b09f320d4d24c6bf89a8936de92226223cb4dc5368edf4c0a1aedb3b8796510981eeadee8e836e764569d9284f0efa  xfce4-pulseaudio-plugin-0.4.3.tar.bz2"
